﻿<%@ Page Title="Ebiznis 2009" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true" CodeBehind="AddPrivileges.aspx.cs" Inherits="sdamarketing.Administration.AddPrivileges" culture="auto" meta:resourcekey="PageResource2" uiculture="auto" %>
<asp:Content ID="Content2" ContentPlaceHolderID="title1PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="text1PlaceHolder" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 142px" align="right">
                <asp:Label ID="lblPrivileges" runat="server" Text="Тип на привилегија" 
                    meta:resourcekey="lblPrivilegesResource2"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbPrivilege" runat="server" Width="168px" 
                    ValidationGroup="savePrivilege" meta:resourcekey="txbPrivilegeResource2"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txbPrivilege" 
                    ErrorMessage="Ве молиме внесете привилегија" 
                    ValidationGroup="savePrivilege" 
                    meta:resourcekey="RequiredFieldValidator1Resource2">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 142px" align="right">
                <asp:Button ID="btnSave" runat="server" Text="Зачувај" onclick="btnSave_Click" 
                    ValidationGroup="savePrivilege" meta:resourcekey="btnSaveResource2" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red" 
                    meta:resourcekey="lblMessageResource2"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainTitle2PlaceHolder" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Додадете привилегија на панел/линк" 
        meta:resourcekey="Label2Resource2"></asp:Label>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="title2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="text2PlaceHolder" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 170px" align = "right">
                <asp:Label ID="Label3" runat="server" Text="Изберете панел/линк" 
                    meta:resourcekey="Label3Resource2"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="panelsDropDown" runat="server" Width="168px" 
                    onselectedindexchanged="panelsDropDown_SelectedIndexChanged" 
                    AutoPostBack="True" ValidationGroup="saveChanges" 
                    meta:resourcekey="panelsDropDownResource2">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="panelsDropDown" 
                    ErrorMessage="Ве молиме изберете привилегија" 
                    ValidationGroup="saveChanges" 
                    meta:resourcekey="RequiredFieldValidator2Resource2">*</asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 170px" align = "right">
                <asp:Label ID="Label4" runat="server" Text="Додадете привилегија на панелот" 
                    meta:resourcekey="Label4Resource2"></asp:Label>
            </td>
            <td>
                <asp:CheckBoxList ID="priviligesCheckBoxes" runat="server" 
                    ValidationGroup="saveChanges" 
                    meta:resourcekey="priviligesCheckBoxesResource2">
                </asp:CheckBoxList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 170px" align="right">
                <asp:Button ID="SaveChanges" runat="server" Text="Зачувај" 
                    onclick="SaveChanges_Click" ValidationGroup="saveChanges" 
                    meta:resourcekey="SaveChangesResource2" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="left" colspan="2">
                <asp:Label ID="lblMessageCheckBoxes" runat="server" ForeColor="Red" 
                    meta:resourcekey="lblMessageCheckBoxesResource2"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content7" runat="server" 
    contentplaceholderid="mainTitle1PlaceHolder">
                <h2 class="title">
                    <asp:Label ID="Label5" runat="server" Text="Додадете привилигија" 
                        meta:resourcekey="Label5Resource2"></asp:Label>
                </h2>
                
</asp:Content>

